public class Wash implements ThreeElementOutlet{
    String name;
    Wash(){
        name = "黄河洗衣机";
    }
    Wash(String s){
        name = s;
    }
    public void connectElectricCurrent(){
        turnOn();
    }

    private void turnOn() {
        System.out.println(name+"开始洗衣服");
    }
    }



